<?php
error_reporting(E_ALL);
ini_set('display_errors', '1');

include_once "database.php";
include_once "date.php";
include_once "datetime.php";


$db = new Database();

$requestURI = explode('/', $_SERVER['REQUEST_URI']);
$scriptName = explode('/',$_SERVER['SCRIPT_NAME']);
for($i= 0; $i < sizeof($scriptName);$i++)
{
	if ($requestURI[$i] == $scriptName[$i])
	{
		unset($requestURI[$i]);
	}
}

$command = array_values($requestURI);
print_r($command);

?>